import java.math.BigInteger;
import java.util.Scanner;

/**
 * @Title: 高精度加法
 * @Author 贾金博
 * @Package PACKAGE_NAME
 * @Date 2024/3/3 20:03
 * @description:
 */
public class 高精度加法 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s1 = sc.next();
        String s2 = sc.next();
        BigInteger bigInteger1 = new BigInteger(s1);
        BigInteger bigInteger2 = new BigInteger(s2);
        System.out.println(bigInteger1.add(bigInteger2));
    }
}
